package me.ywd.seckill.dao;

import me.ywd.seckill.entity.Seckilled;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Administrator on 2016/11/8 0008.
 */
public interface SeckilledDao {
    int add(@Param("productId") long productId, @Param("phone") String phone);
    List<Seckilled> findByPhone(String phone);
    List<Seckilled> findByProduct(long productId);
    Seckilled find(long productId, String phone);
}
